<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例3</title>
    <style>
        #txt1{
            color: deepskyblue;
            font-size: 10px;
        }
        #box1 p{
            font-size: 10px;
            width: 90px;
            height: 90px;
            color: black;
            text-shadow: 10px 10px 1px aqua;
        }
        #txt2{
            color: deepskyblue;
            font-size: 10px;
        }
        #box2 textarea{
            width: 100px;
            height: 150px;
            word-wrap: break-word;
            background-color: #33a4d9;
            /*不换行*/
            /*white-space: nowrap;*/
        }
    </style>
</head>
<body>
<div id="txt1">text-shadow</div>
<div id="box1"><p>我是文本阴影</p></div>
<div id="txt2">word-wrap</div>
<div id="box2">
    <textarea>
        thisisalonglongtextthisisalonglongtextthisisalonglongtext thisisalonglongtext
    </textarea>
</div>
</body>
</html>